package com.gitee.gen.service;

import com.gitee.gen.entity.GenTable;
import com.gitee.gen.entity.qo.GenTableQO;
import com.gitee.gen.mapper.mybatisflex.GenTableMapper;
import com.gitee.gen.jpa.SksJpaParser;
import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.query.QueryWrapper;
import com.mybatisflex.solon.service.impl.ServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.noear.solon.annotation.Component;
import org.noear.solon.annotation.Inject;

import java.util.List;
import java.util.Map;

@Component
@Slf4j
public class GenTableService extends ServiceImpl<GenTableMapper,GenTable> {


//    public Page<GenTable> selectGenTableList(GenTableQO param){
//        QueryWrapper queryWrapper = new SksJpaParser(param).parserQueryWrapper();
////        return genTableMapper.selectListByQuery(QueryWrapper.create());
////        return genTableMapper.selectListByMap(param.getSksJpaParams());
//
//        return getMapper().paginate(new Page<>(param.getPageNum(), param.getPageSize()), queryWrapper);
//    }


}
